package com.xmut.mall.coupon.enums;

public enum AuthEnum {

    TOKEN_TIMEOUT(411,"Token超时请重新登陆"),
    TOKEN_RENEWAL(412,"Token续签"),
    TOKEN_USERAGENT_DISACCORD(413,"用户荷载不一致"),
    USER_UNLOGIN(415,"用户未登录");


    private int code;
    private String msg;

    AuthEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
